package com.ustcinfo.ishare.utils;

import java.util.Date;

/**
 * Created by Shinelon on 2017/10/30.
 */
public class Blog {

    /**
     * 标志字段，值恒为0
     */
    private String sign;
    private String rowkey;
    private String id;
    private String msgid;
    private long receiveTime;
    private String receiveSystem;
    private String servCode;
    private String sendSystem;
    private String resendFlag;
    private Integer serviceState;
    private String connFlag;

    public Blog() {
    }

    public Blog(String sign, String rowkey, String id, String msgid, long receiveTime, String receiveSystem, String servCode, String sendSystem, String resendFlag, Integer serviceState, String connFlag) {
        this.sign = "0";
        this.rowkey = rowkey;
        this.id = id;
        this.msgid = msgid;
        this.receiveTime = receiveTime;
        this.receiveSystem = receiveSystem;
        this.servCode = servCode;
        this.sendSystem = sendSystem;
        this.resendFlag = resendFlag;
        this.serviceState = serviceState;
        this.connFlag = connFlag;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getRowkey() {
        return rowkey;
    }

    public void setRowkey(String rowkey) {
        this.rowkey = rowkey;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMsgid() {
        return msgid;
    }

    public void setMsgid(String msgid) {
        this.msgid = msgid;
    }

    public long getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(long receiveTime) {
        this.receiveTime = receiveTime;
    }

    public String getReceiveSystem() {
        return receiveSystem;
    }

    public void setReceiveSystem(String receiveSystem) {
        this.receiveSystem = receiveSystem;
    }

    public String getServCode() {
        return servCode;
    }

    public void setServCode(String servCode) {
        this.servCode = servCode;
    }

    public String getSendSystem() {
        return sendSystem;
    }

    public void setSendSystem(String sendSystem) {
        this.sendSystem = sendSystem;
    }

    public String getResendFlag() {
        return resendFlag;
    }

    public void setResendFlag(String resendFlag) {
        this.resendFlag = resendFlag;
    }

    public Integer getServiceState() {
        return serviceState;
    }

    public void setServiceState(Integer serviceState) {
        this.serviceState = serviceState;
    }

    public String getConnFlag() {
        return connFlag;
    }

    public void setConnFlag(String connFlag) {
        this.connFlag = connFlag;
    }

    @Override
    public String toString() {
        return "Blog{" +
                "sign='" + sign + '\'' +
                ", rowkey='" + rowkey + '\'' +
                ", id='" + id + '\'' +
                ", msgid='" + msgid + '\'' +
                ", receiveTime=" + receiveTime +
                ", receiveSystem='" + receiveSystem + '\'' +
                ", servCode='" + servCode + '\'' +
                ", sendSystem='" + sendSystem + '\'' +
                ", resendFlag='" + resendFlag + '\'' +
                ", serviceState=" + serviceState +
                ", connFlag='" + connFlag + '\'' +
                '}';
    }

}
